package com.example.controller;


import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WebController {
    @Autowired
    SqlSessionFactory sqlSessionFactory;

    @GetMapping("/login")
    public String getLogin (){
        return "login";
    }

    @GetMapping("/about")
    public String getAbout (){
        return "about";
    }

    @GetMapping("/beer")
    public String getBeer (){
        return "beer";
    }

    @GetMapping("/blog")
    public String getBlog (){
        return "blog";
    }


}
